import java.util.Scanner;
public class ScannerText {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);

        System.out.println("请输入你的姓名：");
        String name = sc.next();
        System.out.println(name);

        System.out.println("请输入你的年龄：");
        int age = sc.nextInt();
        System.out.println(age);

        System.out.println("请输入你的性别：");
        String gender  = sc.next();
        System.out.println(gender);

        System.out.println("请输入你的身高：");
        double height = sc.nextDouble();
        System.out.println(height);

        System.out.println("请输入你的婚姻状况：");
        boolean flag = sc.nextBoolean();
        System.out.println(flag);

        System.out.println("注册成功");
    }
}
